﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Model
{
   public class Engage_resume//简历管理
    {
        [Key]
        [Display(Name = "主键")]
        public int res_id { get; set; }
        [Display(Name = "姓名")]
        [Required(ErrorMessage = "姓名不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_name { get; set; }
        [Display(Name = "招聘类型")]
        [Required(ErrorMessage = "招聘类型不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string engage_type { get; set; }
        [Display(Name = "地址")]
        [Required(ErrorMessage = "地址不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_address { get; set; }
        [Display(Name = "邮编")]
        [Required(ErrorMessage = "邮编不能为空")]
       
        public string human_postcode { get; set; }
        [Display(Name = "职位分类编号")]
        [Required(ErrorMessage = "职位分类编号不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_major_kind_id { get; set; }
        [Display(Name = "职位分类名称")]
        [Required(ErrorMessage = "职位分类名称不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_major_kind_name { get; set; }
        [Display(Name = "职位编号")]
        [Required(ErrorMessage = "职位编号不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_major_id { get; set; }
        [Display(Name = "职位名称")]
        [Required(ErrorMessage = "职位名称不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_major_name { get; set; }
        [Display(Name = "电话号码")]
        [Required(ErrorMessage = "电话号码不能为空")]
      
        public string human_telephone { get; set; }
        [Display(Name = "家庭电话")]
        [Required(ErrorMessage = "家庭电话不能为空")]
        public string human_homephone { get; set; }
        [Display(Name = "手机")]
        [Required(ErrorMessage = "手机不能为空")]
        public string human_mobilephone { get; set; }
        [Display(Name = "Email")]
        [Required(ErrorMessage = "Email不能为空")]
        public string human_email { get; set; }
        [Display(Name = "兴趣爱好")]
        [Required(ErrorMessage = "兴趣爱好不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_hobby { get; set; }
        [Display(Name = "特长")]
        [Required(ErrorMessage = "特长不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_specility { get; set; }
        [Display(Name = "性别")]
        [Required(ErrorMessage = "性别不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_sex { get; set; }
        [Display(Name = "宗教信仰")]
        [Required(ErrorMessage = "宗教信仰不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_religion { get; set; }
        [Display(Name = "政治面貌")]
        [Required(ErrorMessage = "政治面貌不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_party { get; set; }
        [Display(Name = "国籍")]
        [Required(ErrorMessage = " 国籍不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_nationality { get; set; }
        [Display(Name = "民族")]
        [Required(ErrorMessage = "民族不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_race { get; set; }
        [Display(Name = "生日")]
        [Required(ErrorMessage = "生日不能为空")]
     
        public DateTime human_birthday { get; set; }
        [Display(Name = "年龄")]
        [Required(ErrorMessage = "年龄不能为空")]
        public int human_age { get; set; }
        [Display(Name = "教育程度")]
        [Required(ErrorMessage = "教育程度不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_educated_degree { get; set; }
        [Display(Name = "教育年限")]
        [Required(ErrorMessage = "教育年限不能为空")]
     
        public int human_educated_years { get; set; }
        [Display(Name = "专业")]
        [Required(ErrorMessage = "专业不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_educated_major { get; set; }
        [Display(Name = "毕业院校")]
        [Required(ErrorMessage = "毕业院校不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_college { get; set; }
        [Display(Name = "身份证号")]
        [Required(ErrorMessage = "身份证号不能为空")]
        
        public string human_idcard { get; set; }
        [Display(Name = "出生地")]
        [Required(ErrorMessage = "出生地不能为空")]
        public string human_birthplace { get; set; }
        [Display(Name = "薪酬标准")]
        [Required(ErrorMessage = "薪酬标准不能为空")]
        public string demand_salary_standard { get; set; }
        [Display(Name = "个人履历")]
        [Required(ErrorMessage = "个人履历不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_history_records { get; set; }
        [Display(Name = "备注")]
        [Required(ErrorMessage = "备注不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string remark { get; set; }
        [Display(Name = "推荐意见")]
        [Required(ErrorMessage = "推荐意见不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string recomandation { get; set; }
        [Display(Name = "照片")]
        [Required(ErrorMessage = "照片不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_picture { get; set; }
        [Display(Name = "档案附件")]
        [Required(ErrorMessage = "档案附件不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string attachment_name { get; set; }
        [Display(Name = "复核状态")]
        [Required(ErrorMessage = "复核状态不能为空")]
        public int check_status { get; set; }
        [Display(Name = "登记人")]
        [Required(ErrorMessage = "登记人不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string register{ get; set; }
        [Display(Name = "登记时间")]
        [Required(ErrorMessage = " 登记时间不能为空")]
        public DateTime regist_time { get; set; }
        [Display(Name = "复核人姓名")]
        [Required(ErrorMessage = "复核人姓名不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string checker { get; set; }
        [Display(Name = "复核时间")]
        [Required(ErrorMessage = " 复核时间不能为空")]
        public DateTime check_time { get; set; }
        [Display(Name = "面试状态")]
        [Required(ErrorMessage = "面试状态不能为空")]
        public int interview_status { get; set; }
        [Display(Name = "总分")]
        [Required(ErrorMessage = "总分不能为空")]
        public Double total_points { get; set; }
        [Display(Name = "考试次数")]
        [Required(ErrorMessage = "考试次数不能为空")]
        public int test_amount { get; set; }
        [Display(Name = "测试复核人")]
        [Required(ErrorMessage = "测试复核人不能为空")]
        public string test_checker { get; set; }
        [Display(Name = "测试复核时间")]
        [Required(ErrorMessage = "测试复核时间不能为空")]
        public DateTime test_check_time { get; set; }
        [Display(Name = "通过登记人姓名")]
        [Required(ErrorMessage = "通过登记人姓名不能为空")]
        public string pass_register { get; set; }
        [Display(Name = "通过登记时间")]
        [Required(ErrorMessage = "通过登记时间不能为空")]
        public DateTime pass_regist_time { get; set; }
        [Display(Name = "通过复核人姓名")]
        [Required(ErrorMessage = "通过复核人姓名不能为空")]
        public string pass_checker { get; set; }
        [Display(Name = "通过复核时间")]
        [Required(ErrorMessage = "通过复核时间不能为空")]
        public DateTime pass_check_time { get; set; }
        [Display(Name = " 通过的复核状态")]
        [Required(ErrorMessage = " 通过的复核状态不能为空")]
        public int pass_check_status { get; set; }
        [Display(Name = " 录用申请审核意见")]
        [Required(ErrorMessage = "录用申请审核意见不能为空")]
        public string pass_checkComment { get; set; }
        [Display(Name = " 录用申请审批意见 ")]
        [Required(ErrorMessage = "录用申请审批意见 不能为空")]
        public string pass_passComment { get; set; }
    }
}
